Provides icon family data for a given IconRef
.
pascal OSErr IconRefToIconFamily(
IconRef iconRef,
IconSelectorValue whichIcons,
IconFamilyHandle*iconFamily);
iconRef
A pointer to a value of type IconRef
to use as a source for icon data.
whichIcons
A value of type IconSelectorValue
specifying the depths and sizes of icons in the iconFamily data structure. For a description of the possible values, see
Icon Selector Constants
.
iconFamily
A handle to an IconFamily data structure. On return, this data structure contains icon data as specified in the IconRef and whichIcons parameters. Icon Services returns NULL
if no appropriate icon data is found. For more information on the IconFamily data structure, see
Figure 2-1
.